<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<base href='{echo:$siteDomain;/}' />
<link rel="stylesheet" type="text/css" href="skin/default/jooyea/css/iframe.css">
<link rel="stylesheet" type="text/css" href="servtools/menu_pop/menu_pop.css">
<script type='text/javascript' src='servtools/ajax_client/ajax.js'></script>
{sta:echo $is_self=='Y' ? "<script type='text/javascript' src='servtools/menu_pop/group_user.php'></script>" : "";/}
<script type='text/javascript' src="skin/default/js/jooyea.js"></script>
<script type='text/javascript' src="servtools/menu_pop/menu_pop.js"></script>
</head>
<body id="iframecontent" oncontextmenu='return false'>
{sta:if($is_self=='Y')[exc]}
<div class="create_button"><a href="modules.php?app=album_edit">{echo:lp{a_creat};/}</a></div>
<div class="create_button"><a href="modules.php?app=photo_upload">{echo:lp{a_upload};/}</a></div>
{end:if/}
<h2 class="app_album">{echo:$a_who;/}</h2>
{sta:if($is_self=='Y')[exc]}
<div class="tabs">
	<ul class="menu">
    <li class="active"><a href="modules.php?app=album" hidefocus="true">{echo:lp{a_mine};/}</a></li>
    <li><a href="modules.php?app=album_friend" hidefocus="true">{echo:lp{a_friend};/}</a></li>
  </ul>
</div>
{end:if/}
<div class="album_holder">
	{sta:foreach($album_rs as $val)[loop]}
	{sta:$is_pri=check_pri($val['user_id'],$val['privacy']);/}
	  <dl class="list_album" onmouseover="this.className += ' list_album_active';" onmouseout="this.className='list_album';" {sta:if($is_self=='Y')[exc]}title="{echo:lp{a_tip_pri};/}" onmouseDown="menu_pop_show(event,this);" id='{echo:$t_album;/}:{echo:$val['album_id'];/}:{echo:$val["privacy"];/}'{end:if/}>
		  <dt><a href={echo:$is_pri ? "modules.php?app=photo_list&album_id=".$val['album_id']."&user_id=".$val['user_id'] : "javascript:void(0)";/}><img onerror="parent.pic_error(this)" src={echo:$is_pri ? $val['album_skin'] : "skin/$skinUrl/images/errorpage.gif";/}></a></dt>
		  <dd><strong><a href="{echo:$is_pri ? "modules.php?app=photo_list&album_id=".$val['album_id']."&user_id=".$val['user_id'] : "javascript:void(0)";/}">{echo:filt_word($val['album_name']);/}</a></strong></dd>
		  <dd>{echo:lp{a_label};/}：{echo:$val['tag'];/}</dd>
		  <dd><label>{echo:str_replace('{holder}',$val['photo_num'],lp{a_num});/}</label></dd>
		  <dd>{echo:lp{a_update_in};/}{echo:$val['update_time'];/}</dd>
          <dd>{echo:lp{a_crt_time};/}{echo:$val['add_time'];/}</dd>
		  {sta:if($is_self=='Y')[exc]}
		  <dd class="album_conf">
				<a class="album_edit" href='modules.php?app=album_edit&album_id={echo:$val['album_id'];/}'>{echo:lp{a_edit};/}</a>
				<a class="album_del" href='do.php?act=album_del&album_id={echo:$val['album_id'];/}' onclick="return confirm('{echo:lp{a_del_asc};/}')";>{echo:lp{a_del};/}</a>
			{end:if/}
	  </dl>
	{end:foreach/}
    <div class="clear"></div>
	{sta:page_show($isNull,$page_num,$page_total);/}
</div>

<div class="guide_info {echo:$guide;/}">
	{echo:$guide_txt;/}
</div>

</body>
</html>